package com.xmg.design23.d4_prototype;

/**
 * @Author: mazhongqing
 * @Date: 2021/3/24 15:43
 */
public class Test {
    public static void main(String[] args) throws CloneNotSupportedException {
        MilkTea milkTea = new MilkTea();
        milkTea.type = "大杯";
        milkTea.ice = false;
        System.out.println(milkTea.toString());

        MilkTea clone = milkTea.clone();
        System.out.println(clone.toString());
    }
}
